import {WeaTools} from 'ecCom'

export const getQueryTree = (params) => {
    return WeaTools.callApi('/api/workflow/customQuery/getQueryTree', 'POST', params);
}

export const getFixedCondition = (params) => {
    return WeaTools.callApi('/api/workflow/customQuery/getFixedCondition', 'POST', params);
}

export const getCustomCondition = (params) => {
    return WeaTools.callApi('/api/workflow/customQuery/getCustomCondition', 'POST', params);
}

export const getQueryResultKey = (params) => {
    return WeaTools.callApi('/api/workflow/customQuery/getQueryResultKey', 'POST', params);
}

/**获取未操作者**/
export const getUnoperators = params => {
    return WeaTools.callApi('/api/workflow/reqlist/getUnoperators', 'POST', params);
}